package com.sz.service;

import com.sz.mapper.OnlineBankMapper;
import com.sz.model.OnlineBank;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OnlineBankServiceImpl implements IOnlineBankService {

    @Autowired
    private OnlineBankMapper onlineBankMapper;

    @Override
    public OnlineBank getUser(String un, String up) {
        return onlineBankMapper.getUser(un,up);
    }

    @Override
    public OnlineBank getUserById(int obid) {
        return onlineBankMapper.getUserById(obid);
    }

    @Override
    public OnlineBank getUserByIdCard(String idcard, String name) {
        return onlineBankMapper.getUserByIdCard(idcard,name);
    }


}
